﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Content/Master.Master" Inherits="System.Web.Mvc.ViewPage<SCS.Core.Models.Collection.ChangePassword>" %>
<%@ Import Namespace="SCS.Core" %>
<%@ Import Namespace="SCS.Core.Models" %>
<%@ Import Namespace="SCSService" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Đổi mật khẩu
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>

    <% Html.EnableClientValidation(); %>
    <% using (Html.BeginForm())
       {%>
    <div class="box">
		<h2 class="box-header">Đổi mật khẩu </h2>
		<div class="box-content">
			    <label class="form-label required"> Mật khẩu </label>
			    <%= Html.PasswordFor(m => m.Password, new { @class = "form-field width30" }) %> <%= Html.ValidationMessageFor(m => m.Password) %>
			
			    <label class="form-label"> Mật khẩu mới </label>
			    <%= Html.PasswordFor(m => m.NewPassword, new { @class = "form-field width30" })%> <%= Html.ValidationMessageFor(m => m.NewPassword) %>
			
			    <label class="form-label"> Nhập lại mật khẩu </label>
			    <%= Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-field width30" })%> <%= Html.ValidationMessageFor(m => m.ConfirmPassword) %>

                <p>
                    <%=ViewData["error"]%>
                </p>
			
                 <input type="submit" value="" class="button white_input save_input " style="width: 74px;height: 28px; float:left; margin-right:10px;"/> <!--Button Save-->
                <a class="button white" href="javascript:history.back();"><span class="icon_text cancel"></span>Đóng</a> <!--Button Close-->
	    </div>
	</div>
        
    <% } %>

</asp:Content>
